import { createApp } from 'vue'
import App from './app.vue'
import router from './router'
import SkTool from 'skzz-tool'
import 'skzz-theme-chalk/src/index.scss'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import 'dayjs/locale/zh-cn'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import 'highlight.js/styles/color-brewer.css'
import './demo-styles/index.scss'
import './assets/styles/common.scss'
import './assets/styles/fonts/style.css'
import SideNav from './components/side-nav.vue'
import DemoBlock from './components/demo-block.vue'
import RightNav from './components/right-nav.vue'
import FooterNav from './components/footer-nav.vue'
createApp(App)
  .component('demo-block', DemoBlock)
  .component('SideNav', SideNav)
  .component('RightNav', RightNav)
  .component('FooterNav', FooterNav)
  .use(ElementPlus, { locale })
  .use(SkTool)
  .use(router)
  .mount('#app')
